package admin

import (
	"github.com/gin-gonic/gin"
	v1 "wiaf.cn/zhouhongjie/ztl_shop/mer_go/crmeb-admin/server/api/v1"
)

type SysRoleRouter struct{}

/*// GetList
//
//	@Router			/api/admin/platform/role/list [get]
func (s *SysRoleApi) GetList(ctx *gin.Context) {
	fmt.Println("Get list")
}
*/

func (s *SysRoleRouter) InitBaseRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
	baseRouter := Router.Group("/admin/role")
	sysRoleApi := v1.ApiGroupApp.AdminApiGroup.SysRoleApi
	{
		baseRouter.GET("list", sysRoleApi.GetList)

	}
	return baseRouter
}
